package com.sailing.core.demo.equals;

public class Test {
	public static void main(String[] args) {
		
		String name = "3";
		String age = "5";
		Person person = new Person();
		person.setAge(age);
		person.setName(name);
		Cat cat = new Cat();
		cat.setAge(age);
		cat.setName(name);
		String catString = cat.toString();
		String personString = person.toString();
		String tString = "10";
		boolean result1 = "10".equals(personString);
		System.out.println(result1);
		System.out.println(tString.equals("10"));
		System.out.println(String.valueOf(Fuck.TEN.getInt()).equals("10"));
	}
}
